package com.alogic.pipeline;

import com.anysoft.util.DefaultProperties;
import com.anysoft.util.Properties;

/**
 * 保存了Stage信息的上下文
 *
 * @since 1.6.13.35 [20210218 duanyy] <br>
 */
public class StageContext extends DefaultProperties {
    protected String id;
    protected PipelineStage stage = null;

    public StageContext(String id,Properties ctx,PipelineStage stage){
        super("default",ctx);
        this.stage = stage;
        this.id = id;
    }
    public PipelineStage getStage(){
        return stage;
    }
    public String getId(){
        return id;
    }
}
